// 定义巴士类，继承自Automobile
class Bus extends Automobile {
    private int seats;
    public Bus(String brand, String plateNumber, int seats) {
        super(brand, plateNumber);
        this.seats = seats;
    }
    public double getRent() {
        if (seats <= 16) {
            return 400;
        } else {
            return 600;
        }
    }
}